package think.in.spring.bean.postprocessor.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import think.in.spring.bean.postprocessor.processor.ExecutionTimeBeanPostProcessor;
import think.in.spring.bean.postprocessor.service.SampleService;

@Configuration
public class ExecutionTimeConfig {

    @Bean
    public ExecutionTimeBeanPostProcessor executionTimeBeanPostProcessor() {
        return new ExecutionTimeBeanPostProcessor();
    }

    @Bean
    public SampleService sampleService() {
        return new SampleService();
    }
}
